summon armor_stand ~ ~ ~ {NoGravity: 1b, Tags: ["mt_center"]}

scoreboard players set cur mt_layer 0
scoreboard players set cur mt_index 0

scoreboard players set init_max mt_index 3

# 用于创建循环变量 init_loop_const = init_max - 1
# [0, 1, 2]-0 = [0,  1,  2] => (0, 1)
# [0, 1, 2]-1 = [-1, 0,  1] => (0, 1)
# [0, 1, 2]-2 = [-2, -1, 0] => (0,-2) // 取原来的 0 与剪出来的 0
scoreboard players set init_loop_const mt_index 2

scoreboard players set rendered mt_index 0

function mountain:gen/init/summon
function mountain:gen/init/fill